<div class="register"> 
        <form class="d-b ta-c" action="" name="form">
            <div class="form-line ta-l p-r">
                <span class="icon account d-ib va-t"></span>
                <input ng-model="user.phone" validator="phone" class="d-ib" type="text" placeholder="输入手机号"> 
            </div>
            <div class="form-line ta-l p-r">
                <span class="icon lock d-ib va-t"></span>
                <input ng-model="user.password" validator="password" class="d-ib" type="password" placeholder="设置6位以上密码"> 
            </div>
            <div class="message-wrap ta-l p-r">
                <input validator="required" ng-model="user.code" class="message-box" type="text" placeholder="短信验证码">
                <span ng-click="time?1==1:send()"  ng-bind="time?time:'发送短信'" class="message f-r {{time?'disabled':''}}"></span>
            </div>
            
            
            <button class="login-btn">登录</button>
            <button class="register-btn" validation-submit="form" ng-click="submit()">注册</button>
        </form>
    </div>